package cn.com.dcsgo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 对象存储配置类
 * 参考文档：<a href="https://developer.aliyun.com/article/1227235">...</a>
 *
 * @author Dcsgo
 * @since 2025/9/28 17:02
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OSSConfig {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    /**
     * Bucket所在地域
     */
    private String region;
}
